package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeService {
    //登录
    ResultInfo login(String username, String password);

    //查找
    List<Employee> findByName(String name);

    void addEmployee(Employee employee);

    Employee findById(Long id);

    void putEmployee(Employee employee);

}
